<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>无标题文档</title>
<link href="{IMG_PATH}zfupay/css/style.css" rel="stylesheet" type="text/css" />
<link href="{CSS_PATH}/table_form.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="{JS_PATH}jquery.min.js"></script>


</head>

<body>
	<div class="place">
    <span>位置：</span>
    <ul class="placeul">
    <li><a href="#">首页</a></li>
    <li><a href="#">流量购买</a></li>
    </ul>
    </div>
    <div class="formbody">
    
    
    <div id="usual1" class="usual"> 
    
   
    
  	<div id="tab1" class="tabson">
    <div class="col-auto">
		<div class="col-1 ">
			
			<div class="content">
			<form method="post" action="" id="myform" name="myform">
			<table width="100%" cellspacing="0" class="table_form">
				<tr>
					<th width="100">{L('account_remain')}：</th> 
					<td>	
						<font style="color:#F00; font-size:18px;font-family:Georgia,Arial; font-weight:700">{$memberinfo[amount]}</font>{L('unit_yuan')}，
						<font style="color:#F00; font-size:12px;font-family:Georgia,Arial; font-weight:700">{$memberinfo[point]}</font>{L('unit_point')}
					</td>
				</tr>
				<tr>
				<script language="JavaScript">
				<!--
				$(document).ready(function() {
					$("#point").html($("#money").val()*{if !empty($member_setting['rmb_point_rate'])}{$member_setting['rmb_point_rate']}{else}10{/if});
					$("#money").keyup(function() {
						$(this).val($(this).val().replace(/[^\d]/g,''));
						$("#point").html($("#money").val()*{if !empty($member_setting['rmb_point_rate'])}{$member_setting['rmb_point_rate']}{else}10{/if});
						if({$memberinfo[amount]} < $(this).val()) {
							$("#alert").html('{L('not_sufficient_funds')}');
						} else {
							$("#alert").html('');
						}
					});
				});
				//-->
				</script>
					<th width="100">{L('cost')}：</th> 
					<td>	
						<input type="text" class="input-text" name="money" id="money" size="4">{L('unit_yuan')}
						{L('can_change_point_num')}：<font id="point" style="color:#F00; font-size:12px;font-family:Georgia,Arial; font-weight:700">0</font>{L('unit_point')}
						<font id="alert" style="color:#F00; font-size:12px;font-family:Georgia,Arial; font-weight:700"></font>
					</td>
				</tr>

				<tr>
					<th width="100"></th> 
					<td>			
						<input type="submit" class="button" name="buy" value="兑换">
					</td>
				</tr>
			</table>
			</form>
			
			</div>
			<span class="o1"></span><span class="o2"></span><span class="o3"></span><span class="o4"></span>
		</div>
		<div class="bk10"></div>

{if $member_setting['showapppoint']}
		<div class="col-1 ">
			<h5 class="title">{L('app_each').L('credit_change')}</h5>
			<div class="content">
			
			<form method="post" action="" id="myform" name="myform">
			<table width="100%" cellspacing="0" class="table_form">
				<tr>
					<th width="100">{L('cost')}：</th> 
					<td>	
						<input type="text" class="input-text" name="fromvalue">
						<select name="from">
							{loop $credit_list $k $v}
								<option value="{$k}">
								{$v[0]}
								</option>
							{/loop}
						</select>
					</td>
				</tr>


				<tr>
					<th width="100">{L('cost')}：</th> 
					<td>			
						<select name="to">
							{loop $outcredit $k $v}
								<option value="{$v['toid']}_{$v[to]}">
								{$applist[$v['toid']]['name']}[{$v['toname']}]
								</option>
							{/loop}
						</select>
					</td>
				</tr>
				<tr>
					<th width="100"></th> 
					<td>			
						<input type="submit" class="button" name="dosubmit" value="兑换">
					</td>
				</tr>
			</table>
			</form>
			
			</div>
			<span class="o1"></span><span class="o2"></span><span class="o3"></span><span class="o4"></span>
		</div>
{/if}

	</div>
   
    </div>     
	</div> 

    
    </div>


</body>

</html>
